fix reversion on skipping dead keys in --all/bare
authorJoey Hess <joeyh@joeyh.name>
Tue, 13 Sep 2022 18:38:13 +0000 (14:38 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 13 Sep 2022 18:38:13 +0000 (14:38 -0400)
commiteefc0263709eecacc98b79b97c3867d8db122a95
treea5570e1efff7cf1ce4fa1b8b24d45a8c706f8da6
parentb7f13181add6eea8d22fb276036c3f87be19f123
fix reversion on skipping dead keys in --all/bare

Fix a reversion that made dead keys not be skipped when operating on all
keys via --all or in a bare repo. (Introduced in version 8.20200720)

Also, improved the documentation of git-annex-dead, it does not only apply
to fsck --all.

Also, made git-annex fsck, when run on a file whose key is dead, display
that. Before, it displayed that only when run with --all, but with this
fix, it skips dead keys with --all. But it can still be run on a file that
uses a dead key, and displaying "This key is dead" explains to the user
why it does not consider missing content for it to be a problem.

Sponsored-by: k0ld on Patreon
CHANGELOG
CmdLine/Seek.hs
Command/Fsck.hs
doc/forum/How_to_forget_keys_that_get_can__39__t_find__63__/comment_4_ee99cdb44671eea30eaa4351dbb9dc96._comment [new file with mode: 0644]
doc/git-annex-dead.mdwn